const { ipcMain } = require('electron')

ipcMain.handle('on-capture-event', (e) => {
    console.log('test ipcMain communication')
    return 'some info back to renderer'
})